package com.example.demo.redis.mapper;

import com.example.demo.model.Material;
import com.example.demo.util.Result;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by 86151 on 2018/12/28.
 */
@Mapper
public interface RedisZhuJieMapper {
    @Select("select * from material")
     List<Material> queryAll();
}
